package com.yitao.cms.dto.overseasLogistics;

import com.skipper.base.dto.BaseDto;
import com.yitao.cms.enums.OverseasLogisticsEnums;
import com.yitao.cms.utils.DateUtils;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import java.util.Date;


/**
 * @Author: wwl
 * @Date: 2019/4/9 11:45
 * @Description:
 */
public class OverseasProductInfoDto extends BaseDto {

    private  String id;

    /**
     * 境外快递单号(必填)
     */
    @ApiModelProperty("境外快递单号")
    private String overseaExpressNo;
    /**
     * 商品原始名
     */
    @ApiModelProperty("商品原始名")
    private String name;
    /**
     * 商品中文名
     */
    @ApiModelProperty("商品中文名")
    private String cnyName;
    /**
     * 电商平台商品id
     */
    @ApiModelProperty("电商平台商品id")
    private String skuId;
    /**
     * 商品UPC码
     */
    @ApiModelProperty("商品UPC码")
    private String upc;
    /**
     * 商品分类描述
     */
    @ApiModelProperty("商品分类描述")
    private String category;
    /**
     * 商品品牌
     */
    @ApiModelProperty("商品品牌")
    private String brand;
    /**
     * 商品规格
     */
    @ApiModelProperty("商品规格")
    private String spec;
    /**
     * 币种
     */
    @ApiModelProperty("币种")
    private String priceUnit;
    /**
     * 原币单价
     */
    @ApiModelProperty("原币单价")
    private String declaredPrice;
    /**
     * 商品数量
     */
    @ApiModelProperty("商品数量")
    private Integer count;

    /**
     * 是否被删除
     */
    @ApiModelProperty("是否被删除")
    private Boolean isDelete;
    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("创建时间")
    private String createTimeStr;
    /**
     * create_by	创建人
     *
     * @mbggenerated
     */
    @ApiModelProperty("创建人")
    private String createBy;
    /**
     * 创建时间
     */
    @Column(name = "last_update_time",columnDefinition = "DateTime")
    private Date lastUpdateTime;
    /**
     * create_by	创建人
     *
     * @mbggenerated
     */
    @Column(name = "last_update_by",columnDefinition = "BIGINT")
    private String lastUpdateBy;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOverseaExpressNo() {
        return overseaExpressNo;
    }

    public void setOverseaExpressNo(String overseaExpressNo) {
        this.overseaExpressNo = overseaExpressNo;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCnyName() {
        return cnyName;
    }

    public void setCnyName(String cnyName) {
        this.cnyName = cnyName;
    }

    public String getSkuId() {
        return skuId;
    }

    public void setSkuId(String skuId) {
        this.skuId = skuId;
    }

    public String getUpc() {
        return upc;
    }

    public void setUpc(String upc) {
        this.upc = upc;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public String getPriceUnit() {
        return priceUnit;
    }

    public void setPriceUnit(String priceUnit) {
        this.priceUnit = priceUnit;
    }

    public String getDeclaredPrice() {
        return declaredPrice;
    }

    public void setDeclaredPrice(String declaredPrice) {
        this.declaredPrice = declaredPrice;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Boolean getDelete() {
        return isDelete;
    }

    public void setDelete(Boolean delete) {
        isDelete = delete;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateTimeStr() {
        return DateUtils.getDateSecondFormat(createTime);
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }


}
